package src.main.StructuralPatterns.Flyweight;

// 外部状态（不可共享，由客户端传递）
public class CoffeeOrderContext {
    private final int tableNumber;
    private final String customerName;

    public CoffeeOrderContext(final int tableNumber, final String customerName) {
        this.tableNumber = tableNumber;
        this.customerName = customerName;
    }

    public int getTableNumber() {
        return tableNumber;
    }

    public String getCustomerName() {
        return customerName;
    }
}
